package com.opennews.openplatform.familyexpenseapi.dto.account.group

import jakarta.validation.constraints.NotBlank
import jakarta.validation.constraints.Size

abstract class BaseAccountGroupDto {
    @field:NotBlank(message = "title can't be blank")
    @field:Size(max = 50, message = "title must be at most 50 characters")
    lateinit var title: String
}